#define BE_DLL __declspec(dllexport)

#include <Object.h>

Object::Object()
{
	pos.x = 0;
	pos.y = 0;
}

Object::~Object()
{

}

void Object::SetSurface( SDL_Surface *surf )
{
	surface = surf;
}

void Object::FreeObj( void )
{
	if( surface )
		surface = NULL;
}

void Object::Blit( SDL_Surface *surf )
{
	if( surface && surf )
		SDL_BlitSurface( surface, NULL, surf, &pos );
}

void Object::SetPos( int posX, int posY )
{
	pos.x = (Sint16)posX;
	pos.y = (Sint16)posY;
}